<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

<ui:composition template="/restrito/principal.xhtml">
<ui:define name="titulo">
   	Lista Arquivos das Obras
</ui:define>
<ui:define name="corpo">
<h:form id="upload" enctype="multipart/form-data">
	<p:panel>
	<h:outputText value="Obra - " style="font-size:20px" />
	<h:outputLabel value="#{obraBean.obra.des_obra}" style="font-size:20px;font-family:Verdana;font-color:blue" />
	<br /><br />
	<p:fileUpload fileUploadListener="#{obraBean.SalvarArquivos}"  
    	mode="advanced"  
        update="messages"     
        sizeLimit="100000"   
        />  
    <p:growl id="messages" showDetail="true"/>
    </p:panel>    
</h:form>  
</ui:define>
</ui:composition> 
</html>
